<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<script>
	var basePath = '<%=basePath %>';
</script>
<script src="<%=basePath %>/js/plugin/jquery-2.1.4.min.js"></script>
<script src="<%=basePath %>/js/plugin/extJquery.js"></script>
<!-- bootstrap js -->
<script src="<%=basePath%>/js/plugin/bootstrap-3.3.5-dist/js/fileinput.js" type="text/javascript" charset="utf-8"></script>
<script src="<%=basePath%>/js/plugin/bootstrap-3.3.5-dist/js/zh.js" type="text/javascript" charset="utf-8"></script>
<script src="<%=basePath%>/js/plugin/bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="<%=basePath%>/js/plugin/bootstrap-3.3.5-dist/js/ie-emulation-modes-warning.js" type="text/javascript" charset="utf-8"></script>

<!-- easyui js -->
<script src="<%=basePath%>/js/plugin/jquery-easyui-1.4.3/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="<%=basePath%>/js/plugin/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js" type="text/javascript" charset="utf-8"></script>

<script src="<%=basePath%>/js/plugin/particleground/jquery.particleground.min.js" type="text/javascript" charset="utf-8"></script>

<script src="<%=basePath%>/js/common.js" type="text/javascript"></script>
<script>
$(function(){
	$(".switch").click(function(){
	    $("#left").toggle();
	});
	$(".menuLev1").click(function(){
		var obj=$(this);
		if(obj.parent("div").attr('class') == "collapsed") {
			obj.parent("div").removeClass("collapsed");
		}else {
			obj.parent("div").addClass("collapsed");
		}
	});
})
</script>